package com.lizhi.yun.core.trajectoryInfo;/**
 * @program: hbsf_yun
 * @name RszTrajectoryInfoController
 * @description:
 * @author: lizhi
 * @create: 2021-11-17 09:34
 */

import com.lizhi.common.yun.entity.ListResponseResult;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 *@program: hbsf_yun
 *@name RszTrajectoryInfoController
 *@description:
 *@author: lizhi
 *@create: 2021-11-17 09:34
 */
@RefreshScope
@RestController
@RequestMapping(path = "/api/rsz/yun/traInfo")
public class RszTrajectoryInfoController {

    @Resource
    private RszTrajectoryInfoHandler rszTrajectoryInfoHandler;

    @PostMapping(path = "/doMain")
    public ListResponseResult doMain(@RequestBody String json) {
        return rszTrajectoryInfoHandler.doMain(json);
    }
}
